var getFlowFeature = require("./getFlowFeature.js");
var config = require("./config.json");
var fs = require("fs");

(function() {
	var flowNum = config.flowNum;
	var result = [];
	for(var i = 0; i < flowNum; i++) {
		result.push(getFlowFeature());
	}

	var output = result.join("\n");
	fs.writeFile("./dataSrc/output.csv", output, function() {
		console.log("generate flowInfo samples succeed!");
	});
})();